<?php echo $form->create('User', array('method' => 'post', 'action' => 'login'))?>
<?php echo $form->input('email')?>
<?php echo $form->input('password', array('type' => 'password'))?>
<?php echo $form->input('remember_me', array('type' => 'checkbox', 'label' => 'keep me logged in'))?>
<div class="submit">
	<?php echo $html->link('register', '/users/register', array('class'=>'button'))?>
	<input type="submit" value="login" />
</div>
<?php #echo $form->submit('login')?>
<?php echo $form->end()?>